package com.ruijie.autotest.log.impl.parse;

public class ReduceEndCellsParser implements ICellsParser {
	private final String delimiter;

	public ReduceEndCellsParser(String delimiter) {
		this.delimiter = delimiter;
	}

	// FIXME 2021/1/7  wait for me!!!     May convert String[] to RowValues
	@Override
	public String[] parseCells(String line) {
		return line.substring(0, line.length() - 1).split(delimiter);
	}
}
